<?php

require_once(APPPATH.'models/component.php');

class pw_labeled_textarea extends Component
{
    public $id          = 'pw_labeled_textarea';
	public $title       = 'TextArea with label';
	public $description = 'Simple textarea and label with bootstrap framework';
	public $keywords    = 'label textarea bootstrap form';

    public $attributes = array(
    	'label'   => array(
            "id"        => 'label',
            "example"   => "TextArea's Label"
        ),
        'id'   => array(
            "id"        => 'id',
            "example"   => "textarea_id"
        ),
        'name'   => array(
    		"id"        => 'name',
			"example"   => "textarea_name"
    	),
        'value' => array(
            "id"        => 'value',
            "example"   => "Some large text"
        ),
        'placeholder' => array(
            "id"        => 'placeholder',
            "example"   => "This's the placeholder"
        ),
    	'free' => array(
    		"id"        => 'free',
			"example"   => "rows='5'"
    	)
    );

    public function parseAttributes($post = null)
    {
    	return $post;
    }

} // class pw_labeled_textarea

/* End of file pw_labeled_textarea.class.php */
/* Location: ./components/pw_labeled_textarea/pw_labeled_textarea.class.php */